Comparison of JSON and XML Data Interchange Formats: A Case Study
نویسندگان
چکیده
This paper compares two data interchange formats currently used by industry applications; XML and JSON. The choice of an adequate data interchange format can have significant consequences on data transmission rates and performance. We describe the language specifications and their respective setting of use. A case study is then conducted to compare the resource utilization and the relative performance of applications that use the interchange formats. We find that JSON is significantly faster than XML and we further record other resource-related metrics in our results.
منابع مشابه
Context- and Template-Based Compression for Efficient Management of Data Models in Resource-Constrained Systems
The Cyber Physical Systems (CPS) paradigm is based on the deployment of interconnected heterogeneous devices and systems, so interoperability is at the heart of any CPS architecture design. In this sense, the adoption of standard and generic data formats for data representation and communication, e.g., XML or JSON, effectively addresses the interoperability problem among heterogeneous systems. ...
متن کاملiStarJSON: A Lightweight Data-Format for i* Models
JSON is one of the most widely used data-interchange format. There is a large number of tools open for modelling with i*. However, none of them provides supporting for JSON. In this paper we propose iStarJSON language, a JSON-based proposal for interchanging i* models. We also, present an open source software that transforms XML-based format models to JSON models that expose a set of web servic...
متن کاملFREDDY: A Web Browser-friendly Lightweight Data-Interchange Method Suitable for Composing Continuous Data Streams
As a remarkable lightweight data-interchange format for use with web browsers, JSON is well known. Recently, web browsers have come to support rich applications called Software as a Service (SaaS) and Cloud Computing. Consequently, data interchange between web servers and web browsers is an important issue. A singleton, an array, or a nested object (tree) can be represented by JSON, which is ba...
متن کاملA Comparison of XML Interchange Formats for Business Process Modelling
This paper addresses heterogeneity of business process metamodels and related interchange formats. The different approaches towards interchange format design and effects of interchange format specification are presented first. In particular completeness is identified as an important design criterion for interchange formats. Afterwards the superset of metamodel concepts is extracted from 15 curr...
متن کاملFrom XML Schema to JSON Schema: Translation with CHR
Despite its rising popularity as data format especially for web services, the software ecosystem around the JavaScript Object Notation (JSON) is not as widely distributed as that of XML. For both data formats there exist schema languages to specify the structure of instance documents, but there is currently no opportunity to translate already existing XML Schema documents into equivalent JSON S...
متن کامل